package org.sean.fugao.data.model;

import java.io.Serializable;
import java.math.BigDecimal;

public class ConsumeInventory implements Serializable{

	private Integer itemId; // INT(11) NOT NULL ,
	private String itemName; // VARCHAR(45) NOT NULL ,
	private ConsumeType consumeType; // CHAR(1) NOT NULL ,
	private boolean buyable = true; // TINYINT(1) NOT NULL DEFAULT '1' ,
	private BigDecimal unitPrice = BigDecimal.ONE; 
	private Integer balanceCount = 0; // '-1 stands for unlimited' ,
	private String comments; // VARCHAR(1000) NULL DEFAULT NULL ,
	private String lastUpdateDate; // TIMESTAMP NULL DEFAULT CURRENT

	public Integer getItemId() {
		return itemId;
	}

	public void setItemId(Integer itemId) {
		this.itemId = itemId;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public ConsumeType getConsumeType() {
		return consumeType;
	}

	public void setConsumeType(ConsumeType consumeType) {
		this.consumeType = consumeType;
	}

	public boolean isBuyable() {
		return buyable;
	}

	public void setBuyable(boolean buyable) {
		this.buyable = buyable;
	}

	public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Integer getBalanceCount() {
		return balanceCount;
	}

	public void setBalanceCount(Integer balanceCount) {
		this.balanceCount = balanceCount;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getLastUpdateDate() {
		return lastUpdateDate;
	}

	public void setLastUpdateDate(String lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}
}
